home *** CD-ROM | disk | FTP | other *** search
/ Family Fun / Family Fun.iso / joke1 / jokes_l / lion.jok < prev    next >
Text File  |  1992-01-07  |  10KB  |  294 lines

  1. To: humourous-backbone@rascal.ics.utexas.edu
  2. Subject: [Rich Kulawiec: GSP Digest #186]
  3. Date: Tue, 25 Jul 89 00:34:23 EST
  4. From: Gene Spafford <spaf@cs.purdue.edu>
  5.  
  6. The classic bit about how to catch a lion.  Added to the end are some
  7. new ways for physicists & computer scientists.  I especially like
  8. Dijkstra's method...
  9.  
  10. --spaf
  11. ------- Forwarded Message
  12.  
  13.  
  14. ==========
  15. Item 3:
  16. ==========
  17. From: ji@walkuere.altair.fr (John Ioannidis)
  18. Date: 19 Jul 89 10:30:04 GMT
  19. Subject: how to catch a lion
  20.  
  21. I found this some time ago in my mailbox. I'm not certain of its
  22. origins, but it's a good one. It looks like something that might have
  23. appeared in the JIR (Journal of Irreproducible Results) but I don't
  24. have all the back issues with me to check. 
  25.  
  26. A Contribution to the Mathematical Theory of Big Game Hunting
  27.  
  28.  
  29. Problem: To Catch a Lion in the Sahara Desert.
  30.  
  31. 1. Mathematical Methods
  32.  
  33. 1.1 The Hilbert (axiomatic) method
  34.  
  35. We place a locked cage onto a given point in the desert.  After that
  36. we introduce the following logical system:
  37.    Axiom 1: The set of lions in the Sahara is not empty.
  38.    Axiom 2: If there exists a lion in the Sahara, then there exists a
  39.         lion in the cage.
  40.    Procedure: If P is a theorem, and if the following is holds:
  41.           "P implies Q", then Q is a theorem.
  42.    Theorem 1: There exists a lion in the cage.
  43.  
  44. 1.2 The geometrical inversion method
  45.  
  46. We place a spherical cage in the desert, enter it and lock it from
  47. inside.  We then performe an inversion with respect to the cage. Then
  48. the lion is inside the cage, and we are outside.
  49.  
  50. 1.3 The projective geometry method
  51.  
  52. Without loss of generality, we can view the desert as a plane surface.
  53. We project the surface onto a line and afterwards the line onto an
  54. interiour point of the cage. Thereby the lion is mapped onto that same
  55. point.
  56.  
  57. 1.4 The Bolzano-Weierstrass method
  58.  
  59. Divide the desert by a line running from north to south. The lion is
  60. then either in the eastern or in the western part. Let's assume it is
  61. in the eastern part. Divide this part by a line running from east to
  62. west. The lion is either in the northern or in the southern part.
  63. Let's assume it is in the northern part. We can continue this process
  64. arbitrarily and thereby constructing with each step an increasingly
  65. narrow fence around the selected area. The diameter of the chosen
  66. partitions converges to zero so that the lion is caged into a fence of
  67. arbitrarily small diameter.
  68.  
  69. 1.5 The set theoretical method
  70.  
  71. We observe that the desert is a separable space.  It therefore
  72. contains an enumerable dense set of points which constitutes a
  73. sequence with the lion as its limit. We silently approach the lion in
  74. this sequence, carrying the proper equipment with us.
  75.  
  76. 1.6 The Peano method
  77.  
  78. In the usual way construct a curve containing every point in the
  79. desert. It has been proven [1] that such a curve can be traversed in
  80. arbitrarily short time.  Now we traverse the curve, carrying a spear,
  81. in a time less than what it takes the lion to move a distance equal to
  82. its own length.
  83.  
  84. 1.7 A topological method
  85.  
  86. We observe that the lion possesses the topological gender of a torus.
  87. We embed the desert in a four dimensional space.  Then it is possible
  88. to apply a deformation [2] of such a kind that the lion when returning
  89. to the three dimensional space is all tied up in itself. It is then
  90. completely helpless.
  91.  
  92. 1.8 The Cauchy method
  93.  
  94. We examine a lion-valued function f(z). Be \zeta the cage. Consider
  95. the integral
  96.  
  97.        1    [   f(z)
  98.     ------- I --------- dz
  99.     2 \pi i ] z - \zeta
  100.  
  101.             C
  102.  
  103. where C represents the boundary of the desert. Its value is f(zeta),
  104. i.e. there is a lion in the cage [3].
  105.  
  106. 1.9 The Wiener-Tauber method
  107.  
  108. We obtain a tame lion, L_0, from the class L(-\infinity,\infinity),
  109. whose fourier transform vanishes nowhere.  We put this lion somewhere
  110. in the desert.  L_0 then converges toward our cage.  According to the
  111. general Wiener-Tauner theorem [4] every other lion L will converge
  112. toward the same cage.  (Alternatively we can approximate L arbitrarily
  113. close by translating L_0 through the desert [5].)
  114.  
  115. 2 Theoretical Physics Methods
  116.  
  117. 2.1 The Dirac method
  118.  
  119. We assert that wild lions can ipso facto not be observed in the Sahara
  120. desert.  Therefore, if there are any lions at all in the desert, they
  121. are tame. We leave catching a tame lion as an execise to the reader.
  122.  
  123. 2.2 The Schroedinger method
  124.  
  125. At every instant there is a non-zero probability of the lion being in
  126. the cage.  Sit and wait.
  127.  
  128. 2.3 The nuclear physics method
  129.  
  130. Insert a tame lion into the cage and apply a Majorana exchange
  131. operator [6] on it and a wild lion.
  132.  
  133. As a variant let us assume that we would like to catch (for argument's
  134. sake) a male lion. We insert a tame female lion into the cage and
  135. apply the Heisenberg exchange operator [7], exchanging spins.
  136.  
  137. 2.4 A relativistic method
  138.  
  139. All over the desert we distribute lion bait containing large amounts
  140. of the companion star of Sirius. After enough of the bait has been
  141. eaten we send a beam of light through the desert. This will curl
  142. around the lion so it gets all confused and can be approached without
  143. danger.
  144.  
  145. 3 Experimental Physics Methods
  146.  
  147. 3.1 The thermodynamics method
  148.  
  149. We construct a semi-permeable membrane which lets everything but lions
  150. pass through. This we drag across the desert.
  151.  
  152. 3.2 The atomic fission method
  153.  
  154. We irradiate the desert with slow neutrons. The lion becomes
  155. radioactive and starts to disintegrate. Once the disintegration
  156. process is progressed far enough the lion will be unable to resist.
  157.  
  158. 3.3 The magneto-optical method
  159.  
  160. We plant a large, lense shaped field with cat mint (nepeta cataria)
  161. such that its axis is parallel to the direction of the horizontal
  162. component of the earth's magnetic field. We put the cage in one of the
  163. field's foci. Throughout the desert we distribute large amounts of
  164. magnetized spinach (spinacia oleracea) which has, as everybody knows,
  165. a high iron content.  The spinach is eaten by vegetarian desert
  166. inhabitants which in turn are eaten by the lions.  Afterwards the
  167. lions are oriented parallel to the earth's magnetic field and the
  168. resulting lion beam is focussed on the cage by the cat mint lense.
  169.  
  170. [1] After Hilbert, cf. E. W. Hobson, "The Theory of Functions of a Real
  171.     Variable and the Theory of Fourier's Series" (1927), vol. 1, pp 456-457
  172. [2] H. Seifert and W. Threlfall, "Lehrbuch der Topologie" (1934), pp 2-3
  173. [3] According to the Picard theorem (W. F. Osgood, Lehrbuch der
  174.     Funktionentheorie, vol 1 (1928), p 178) it is possible to catch every lion
  175.     except for at most one.
  176. [4] N. Wiener, "The Fourier Integral and Certain of itsl Applications" (1933),
  177.     pp 73-74
  178. [5] N. Wiener, ibid, p 89
  179. [6] cf e.g. H. A. Bethe and R. F. Bacher, "Reviews of Modern Physics", 8
  180.     (1936), pp 82-229, esp. pp 106-107
  181. [7] ibid
  182. - -- 
  183.  
  184. 4 Contributions from Computer Science.
  185.  
  186. 4.1 The search method 
  187.  
  188. We assume that the lion is most likely to be found in the direction to
  189. the north of the point where we are standing. Therefore the REAL
  190. problem we have is that of speed, since we are only using a PC to
  191. solve the problem.
  192.  
  193. 4.2 The parallel search method.
  194.  
  195. By using parallelism we will be able to search in the direction to the
  196. north much faster than earlier.
  197.  
  198. 4.3 The Monte-Carlo method.
  199.  
  200. We pick a random number indexing the space we search. By excluding
  201. neighboring points in the search, we can drastically reduce the number
  202. of points we need to consider. The lion will according to probability
  203. appear sooner or later.
  204.  
  205. 4.4 The practical approach.
  206.  
  207. We see a rabbit very close to us. Since it is already dead, it is
  208. particularly easy to catch. We therefore catch it and call it a lion.
  209.  
  210. 4.5 The common language approach.
  211.  
  212. If only everyone used ADA/Common Lisp/Prolog, this problem would be
  213. trivial to solve.
  214.  
  215. 4.6 The standard approach.
  216.  
  217. We know what a Lion is from ISO 4711/X.123. Since CCITT have specified
  218. a Lion to be a particular option of a cat we will have to wait for a
  219. harmonized standard to appear. $20,000,000 have been funded for
  220. initial investigastions into this standard development.
  221.  
  222. 4.7 Linear search.
  223.  
  224. Stand in the top left hand corner of the Sahara Desert.  Take one step
  225. east.  Repeat until you have found the lion, or you reach the right
  226. hand edge.  If you reach the right hand edge, take one step
  227. southwards, and proceed towards the left hand edge.  When you finally
  228. reach the lion, put it the cage.  If the lion should happen to eat you
  229. before you manage to get it in the cage, press the reset button, and
  230. try again.
  231.  
  232. 4.8 The Dijkstra approach:
  233.  
  234. The way the problem reached me was: catch a wild lion in the Sahara
  235. Desert. Another way of stating the problem is:
  236.  
  237.     Axiom 1: Sahara elem deserts
  238.     Axiom 2: Lion elem Sahara
  239.     Axiom 3: NOT(Lion elem cage)
  240.  
  241. We observe the following invariant:
  242.     
  243.     P1:    C(L) v not(C(L))
  244.  
  245. where C(L) means: the value of "L" is in the cage.
  246.  
  247. Establishing C initially is trivially accomplished with the statement
  248.  
  249.     ;cage := {}
  250.  
  251. Note 0:    
  252. This is easily implemented by opening the door to the cage and shaking
  253. out any lions that happen to be there initially.
  254. (End of note 0.)
  255.  
  256. The obvious program structure is then:
  257.  
  258.     ;cage:={}
  259.     ;do NOT (C(L)) ->
  260.         ;"approach lion under invariance of P1"
  261.         ;if P(L) ->
  262.             ;"insert lion in cage"
  263.          [] not P(L) ->
  264.             ;skip
  265.         ;fi
  266.     ;od
  267.  
  268. where P(L) means: the value of L is within arm's reach.
  269.  
  270. Note 1:    
  271. Axiom 2 esnures that the loop terminates.
  272. (End of note 1.)
  273.  
  274. Exercise 0:
  275. Refine the step "Approach lion under invariance of P1".
  276. (End of exercise 0.)
  277.  
  278. Note 2: 
  279. The program is robust in the sense that it will lead to
  280. abortion if the value of L is "lioness".
  281. (End of note 2.)
  282.  
  283. Remark 0: This may be a new sense of the word "robust" for you.
  284. (End of remark 0.)
  285.  
  286. Note 3: 
  287.  
  288. >From observation we can see that the above program leads to the
  289. desired goal. It goes without saying that we therefore do not have to
  290. run it.
  291. (End of note 3.)  
  292. (End of approach.)
  293.  
  294.